package com.gitee.wsl.lang.character

val String.Companion.symbol get() = Symbol

/**
 * detail: 符号、标记字符串常量
 * @author Ttt
 */
object Symbol {
    // 空格 字符串
    const val SPACE = " "

    // TAB 字符串
    const val TAB = "\t"

    // 回车 ( CR ) 字符串
    const val CR = "\r"

    // 换行 ( \n ) 字符串 ( single newline ('\n') character )
    const val NL = "\n"
    const val NL_CHAR = '\n'

    // 点 字符串
    const val POINT = "."

    // 横杠 字符串
    const val HYPHEN = "-"

    // 下划线 字符串
    const val UNDERSCORE = "_"

    // 冒号 字符串
    const val COLON = ":"

    // 逗号 字符串
    const val COMMA = ","

    // 顿号 字符串
    const val COMMA2 = "、"

    // 分号 字符串
    const val SEMICOLON = ";"

    // 百分号 字符串
    const val PERCENT = "%"

    // 反斜杠 字符串
    const val BACKSLASH = "\\"

    // 斜杠 字符串
    const val SLASH = "/"

    // 换行字符串
    val NEW_LINE = "\n"

    // 换行字符串 ( 两行 )
    val NEW_LINE_X2 = NEW_LINE + NEW_LINE

    // 换行字符串 ( 四行 )
    val NEW_LINE_X4 = NEW_LINE_X2 + NEW_LINE_X2

    // null 对象字符串
    const val NULL = "null"

}